Skip to content

feat/fix: differentiate PDA vibration popup recipients#2034

Open
re-silvered wants to merge 1 commit into
HardLightSector:masterfrom
re-silvered:pdavibrate
Open

feat/fix: differentiate PDA vibration popup recipients#2034
re-silvered wants to merge 1 commit into
HardLightSector:masterfrom
re-silvered:pdavibrate

Conversation

@re-silvered

Copy link
Copy Markdown
Collaborator

About the PR

Changes the PDA ringer system to give different chat popups depending on whose PDA is ringing, no longer will you be told your PDA is ringing when its actually someone else's nearby!

Why / Balance

Previously it just stated "Your PDA vibrates" even if it wasn't your own if someone was close enough to you, with this it will accurately say whose PDA now that's going off, with a little bit of a range increase from 1 tiles to 2

Technical details

Refactors the popup to send two different alerts:
One for the sender, that everyone else is excluded from seeing
One for others, that the sender is excluded from seeing, and is range limited to two tiles (0.1f) with a fallback if no owner is found (e.g PDA laying on the ground)

How to test

With two clients -> Stand them within 2 tiles of each other -> post a bounty with one -> see the different messages -> stand further than two tiles away -> don't see the different messages.

Media

image

Changelog
🆑

  • add: Added some differentiation to PDA ringers so you you can tell who exactly next to you is receiving all those nanochats~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant